<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>被3 5 7整除的数</title>
	<script type="text/javascript">
		var a=prompt("输入范围","");
		var i=0;
		var b=[];
		do{
			b[i]=3*5*7*(i+1);
			i++;
		}while(b[i-1]<a)

		for(var i = 0;i<b.length-1;i++){
			document.write(b[i]+"&nbsp;");
		}
	</script>
</head>
<body>
</body>
</html>